package org.example.proxy.dynamic._jdk;

public class Main {
    public static void main(String[] args) {
        SmsService smsService = (SmsService) JdkProxyFactory.getProxy(new SmsServiceImpl());
        smsService.send("java");

        smsService.say();

        System.out.println(smsService);
    }
}
